<?xml version="1.0" encoding="utf-8" ?>
<Content type="xform" name="Billing Address">
  <model>
    <instance>
      <tblCartContact>
        <nContactKey/>
        <nContactDirId/>
        <nContactCartId/>
        <cContactType>Billing Address</cContactType>
        <cContactName/>
        <cContactCompany/>
        <cContactAddress/>
        <cContactTown/>
        <cContactCity/>
        <cContactState/>
        <cContactZip/>
        <cContactCountry/>
        <cContactTel/>
        <cContactFax/>
        <cContactEmail/>
        <cContactXml/>
        <nAuditId/>
        <nAuditKey/>
        <dPublishDate/>
        <dExpireDate/>
        <dInsertDate/>
        <nInsertDirId/>
        <dUpdateDate/>
        <nUpdateDirId/>
        <nStatus>0</nStatus>
        <cDescription/>
      </tblCartContact>
      <cartCmd/>
      <cIsDelivery />
    </instance>
    <submission id="SubmitBilling" action="" method="POST" event="return form_check(this);" />
    <bind id="cartCmd" nodeset="tblCartContact/cartCmd" required="false()" type="string" />
    <bind id="cContactType" nodeset="tblCartContact/cContactType" required="false()" type="string" />
    <bind id="cContactName" nodeset="tblCartContact/cContactName" required="true()" type="string" />
    <bind id="cContactCompany" nodeset="tblCartContact/cContactCompany" required="false()" type="string" />
    <bind id="cContactAddress" nodeset="tblCartContact/cContactAddress" required="true()" type="string" />
    <bind id="cContactCity" nodeset="tblCartContact/cContactCity" required="true()" type="string" />
    <bind id="cContactState" nodeset="tblCartContact/cContactState" required="false()" type="string" />
    <bind id="cContactZip" nodeset="tblCartContact/cContactZip" required="true()" type="string" />
    <bind id="cContactCountry" nodeset="tblCartContact/cContactCountry" required="true()" type="string" />
    <bind id="cContactTel" nodeset="tblCartContact/cContactTel" required="true()" type="string" />
    <bind id="cContactFax" nodeset="tblCartContact/cContactFax" required="false()" type="string" />
    <bind id="cContactEmail" nodeset="tblCartContact/cContactEmail" required="true()" type="email" />
    <bind id="cIsDelivery" nodeset="tblCartContact/cIsDelivery" required="false()" type="string" />
  </model>
  <group ref="address">
    <label>Billing Address</label>
    <input bind="cartCmd" class="hidden">
      <label>cartCmd</label>
    </input>
    <input bind="cContactType" class="hidden">
      <label>Type</label>
      <value>Billing Address</value>
    </input>
    <input bind="cContactName" class="textbox required">
      <label>Name</label>
      <value />
    </input>
    <input bind="cContactCompany" class="textbox">
      <label>Company</label>
      <value />
    </input>
    <input bind="cContactAddress" class="textbox required">
      <label>Address</label>
      <value />
    </input>
    <input bind="cContactCity" class="textbox required">
      <label>City</label>
      <value />
    </input>
    <input bind="cContactState" class="textbox">
      <label>County/State</label>
      <value />
    </input>
    <input bind="cContactZip" class="textbox required">
      <label>Postcode/Zip</label>
      <value />
    </input>
    <select1 bind="cContactCountry" class="ewquery required" query="Countries" appearance="minimal">
      <label>Country</label>
    </select1>
    <input bind="cContactTel" class="textbox required">
      <label>Tel</label>
      <value />
    </input>
    <input bind="cContactFax" class="textbox">
      <label>Fax</label>
      <value />
    </input>
    <input bind="cContactEmail" class="textbox required">
      <label>Email</label>
      <value />
    </input>
    <submit submission="SubmitBilling" ref="cartBillAddress" class="principle">
      <label>Submit</label>
    </submit>
  </group>
</Content>
